#include "Light.h"
#include "ConcreteElementLoader.h"

class Spot : public Light
{
public:

	Spot(bool _enabled, Coord4 _loc, LightComponents _lightComps, double _angle, double _exp, Coord3 _target) 
		: Light(_enabled, _loc, _lightComps), angle(_angle), exponent(_exp), target(_target) {}

	virtual ~Spot(void) {}

	// Atributes
	double angle;
	double exponent;
	Coord3 target;

	// Methods
	bool static handleProperties(TiXmlElement *element, int &enabled, float &angle, float &exponent);

	//static ConcreteElementLoader<Spot> spotCreator;
};

